//@author A0092076A

#ifndef FILENOTFOUNDEXCEPTION_H
#define FILENOTFOUNDEXCEPTION_H

#include <iostream>
#include <string>
#include <sstream>

#include "CustomException.h"

using namespace std;

class FileNotFoundException : public CustomException {

private:

	string fileName;

public:

	FileNotFoundException ( string input ):CustomException( input ) { fileName = input;}
	inline string getFileName() { return fileName; }
	inline string getMessage() {
		
		stringstream errorMessage;
		errorMessage<<"Exception Occurred: Cannot open "<<fileName;
		return errorMessage.str();
	
	}

};
#endif